package com.dingreading.cloud.admin.util;

import com.dingreading.cloud.common.util.EnumType;

public enum StoreFollowEnum {

    CONTRACT_ADD("76ab1727779a4466b1c60864aa3e5fdf", "合同录入"),
    CONTRACT_SING("8251845d02414b4d82c176204a949915", "合同签署"),
    CONTRACT_DELETE("c4d2d30de2c448548a9d665bd7243ce6", "合同删除"),
    MANAGEMENT_FEE_ADD("3e4ee1652bdd436198dad65f782f2862", "管理费录入"),
    MANAGEMENT_FEE_EDIT("3e4ee1652bdd436198dad65f782f2861", "管理费编辑"),
    MANAGEMENT_FEE_PAY("e3af601894b74415b83f1afb637643db", "管理费缴费"),
    MANAGEMENT_FEE_DELETE("a179436967a04099ae39590c71e7bbac", "管理费删除"),
    MANAGEMENT_FEE_CLOSE("a179436967a04099ae39590c71e7bb000", "管理费关闭"),
    MANAGEMENT_FEE_RECOVER("a179436967a04099ae39590c71e7bb000", "管理费已缴费恢复为未缴费"),
    STORE_ACTIVATE_ON("85b9af5feff045b29bba6b5d183ed22c", "门店已启动"),
    STORE_ACTIVATE_OFF("f0dd2b964be24cc4b66898c1b53b088b", "门店未启动"),
    STORE_ENABLED_ON("6f49e992eda547748e5c95018e482f69", "门店已启用"),
    STORE_ENABLED_OFF("70ee3d8a52dc4f468637b53c964c47ad", "门店已禁用"),
    STORE_PROTECT("c285b82b24714432800a3dbdc28ab9d9", "门店设置保护范围"),
    STORE_CREATE("ae3ba36fbac440d9aae334878f6fd755", "创建门店"),
    STORE_STAFF_CREATE("54c6bc1e497a4cab98345fbce9b1391c", "创建员工账号"),
    STORE_SITE_SELECTION("311a9ac28aa245bb88355d5f87b0763f", "门店选址"),
    STORE_DESIGN("2ba91bef2c264345809b0bc6482512aa", "设计交付"),
    STORE_TRAIN("beb2cf25d8874d2094a31ac4a006482a", "培训"),
    STORE_ADDRESS_CHANGE("b1f0c4d271b5428f9fecb3f86c2062ba", "地址变更"),
    STORE_SOFT_OPENING("28de87b0ccee4353a100d5242f95b762", "试营业"),
    STORE_ENROLL_STUDENT("e6f845415676446b93c84385d349d345", "督导落地招生"),
    STORE_CONVERSION("ec28753b9a704528948e2e9be124ee04", "落地转化"),
    STORE_OPENING("09c26ecff5f14ada96791c10a7abf8ed", "正式开业"),
    ;

    //成员变量
    private final String type;
    private final String name;

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }


    //构造方法
    StoreFollowEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public static String getStatus(String type) {
        for (EnumType.Follow data : EnumType.Follow.values()) {
            if (data.getType().equals(type)) {
                return data.getName();
            }
        }
        return "";
    }

}
